# ============================================
# 🚀 Application
# ============================================
APP_PORT=8003

# ============================================
# 🔑 LLM Configuration (credentials from Secrets Manager)
# ============================================
LLM_SECRET_NAME=llm-secret
LLM_SECRET_FIELD=api_key
LLM_BASE_URL=https://api.openai.com/v1
MODEL_NAME=gpt-4o-mini
TEMPERATURE=0.7
LLM_TIMEOUT=30
MAX_MESSAGES_TO_KEEP=20
MESSAGE_RETENTION_MINUTES=600
TIMEZONE=America/Bogota
# LLM_MEMORY_EXCLUDED_TOOLS=["tool_name_1","tool_name_2"]
# LLM_EARLY_EXIT_TOOLS=["tool_name"]
# LLM_SUCCESS_KEYWORDS=["success","ok"]

# ============================================
# 🤖 Agent Configuration
# ============================================
AGENT_INSTRUCTIONS="You are an AI assistant that helps people with their tasks. Be helpful, concise, and accurate."
AGENT_NAME="My AI Agent"
AGENT_DESCRIPTION="An AI agent that helps with various tasks."
AGENT_BASE_URL=http://localhost:8003
AGENT_ERROR_MESSAGE="Tuvimos un inconveniente. Intenta más tarde, por favor."
CHECK_CONNECTIVITY_ON_STARTUP=false

# ============================================
# ☁️ AWS Configuration (LocalStack for local dev)
# ============================================
AWS_ACCESS_KEY_ID=test
AWS_SECRET_ACCESS_KEY=test
AWS_REGION=us-east-1
AWS_ENDPOINT_URL=http://localhost:4566

# ============================================
# 🗄️ Redis/Valkey (credentials from Secrets Manager)
# ============================================
REDIS_SECRET_NAME=nu0284001-artemis-dev-elasticache-valkey-user
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_SSL=false

# ============================================
# 📊 OpenTelemetry (Optional)
# ============================================
OTEL_ENABLED=true
OTEL_SERVICE_NAME=my-agent
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317

# ============================================
# 📝 Logging
# ============================================
LOGGER_LEVEL=INFO
LOGGER_FORMAT=%(asctime)s - %(name)s - %(levelname)s - %(message)s

# ============================================
# 📨 Kafka (Optional - set MOUNT_KAFKA=true to enable)
# ============================================
MOUNT_KAFKA=false
KAFKA_SECRET_NAME=nu0284001-artemis-dev-kafka-scram-default-user
KAFKA_SECURITY_PROTOCOL=SASL_PLAINTEXT
KAFKA_SASL_MECHANISM=SCRAM-SHA-512
KAFKA_INPUT_TOPIC=agent-input-topic
KAFKA_OUTPUT_TOPIC=agent-output-topic
KAFKA_GROUP_ID=agent-consumer-group
KAFKA_AUTO_OFFSET_RESET=earliest
KAFKA_ENABLE_AUTO_COMMIT=true
KAFKA_MAX_CONCURRENT_MESSAGES=10
KAFKA_MAX_RETRY_MESSAGES=3
KAFKA_MAX_MESSAGES_BEFORE_RESTART=25000

# ============================================
# 🌐 MCP Connections (add as many as needed)
# ============================================
# MCP_CONNECTION_1_NAME=mcp_main
# MCP_CONNECTION_1_ENDPOINT=http://localhost:3000/mcp
